package com.example.springcloud.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author hx
 * @date 2025/2/21 10:21
 */
@Data
@ApiModel(value="OrdersVo对象", description="种草文章列表数据对象")
public class OrdersVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /** 订单ID */
    @ApiModelProperty(value = "订单ID")
    private String orderId;

    /** 关联用户ID */
    @Excel(name = "关联用户ID")
    @ApiModelProperty(value = "关联用户ID")
    private Long userId;

    /** 关联商品ID */
    @Excel(name = "关联商品ID")
    @ApiModelProperty(value = "关联商品ID")
    private Long productId;

    /** 商品图片 */
    @Excel(name = "商品图片")
    @ApiModelProperty(value = "商品图片")
    private String productImage;

    /** 订单标题 */
    @Excel(name = "订单标题")
    @ApiModelProperty(value = "订单标题")
    private String title;

    /** 订单内容 */
    @Excel(name = "订单内容")
    @ApiModelProperty(value = "订单内容")
    private String content;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createdAt;



}